package com.hoangqp.util;

import java.io.Serializable;

public class DictionaryItem implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 7738845407186687900L;
	private String dictionary;
	private long offset;
	private long size;
	
	public DictionaryItem(String dictionary, long offset, long size){
		this.setDictionary(dictionary);
		this.setOffset(offset);
		this.setSize(size);
	}

	/**
	 * @return the dictionary
	 */
	public String getDictionary() {
		return dictionary;
	}

	/**
	 * @param dictionary the dictionary to set
	 */
	public void setDictionary(String dictionary) {
		this.dictionary = dictionary;
	}

	/**
	 * @return the offset
	 */
	public long getOffset() {
		return offset;
	}

	/**
	 * @param offset the offset to set
	 */
	public void setOffset(long offset) {
		this.offset = offset;
	}

	/**
	 * @return the size
	 */
	public long getSize() {
		return size;
	}

	/**
	 * @param size the size to set
	 */
	public void setSize(long size) {
		this.size = size;
	}
}
